#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from dragon.locatordetail import LocatorDetail

class PlatePage:
    searchInput=LocatorDetail('input.search-input.f1','搜索框')
    selectedPlateType=LocatorDetail('span.plate-parent-name.active.cp','选中的板块按钮')
    plateTypeButton=LocatorDetail('div.plate-header>div>span','板块分类按钮')
    # conceptButton=LocatorDetail('概念板块','概念板块按钮','text')
    # industryButton=LocatorDetail('行业板块','行业板块按钮','text')

    selectedSort=LocatorDetail('button.sort-bottom-btn.hlight','选中的排序按钮')
    sortButton=LocatorDetail('div.sort-button.df.aic>button','排序按钮')
    # changeSort=LocatorDetail('异动','异动排序按钮','text')
    # ratioSort=LocatorDetail('比值','比值排序按钮','text')
    # limitUpSort=LocatorDetail('涨停','涨停排序按钮','text')

    allPlate=LocatorDetail('div.plate-items-item>span','全部板块')
    selectedAllPlate=LocatorDetail('div.plate-items-item.plate-item__active>span','已选中的全部板块')

    plateList=LocatorDetail('div.plate_list.f1.oys','板块列表')
    plateBlock=LocatorDetail('li.plate-item','板块')
    selectedPlateName = LocatorDetail('li.plate-item.plate-item__active>span', '选中的板块名称')
    plateName=LocatorDetail('li.plate-item>span:nth-child(1)','板块名称')
    changeCount=LocatorDetail('li.plate-item>span:nth-child(2)','异动数量')
    limitUpCount=LocatorDetail('li.plate-item>span:nth-child(3)','涨停数量')






